package org.jeecg.modules.parameter.biz.service.impl;


import lombok.extern.slf4j.Slf4j;
import org.jeecg.modules.parameter.api.entity.SimPark;
import org.jeecg.modules.parameter.biz.mapper.SimLineParkMapper;
import org.jeecg.modules.parameter.biz.service.SimLineParkService;
import org.jeecg.modules.parameter.common.biz.service.impl.FzServiceImpl;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author LSY
 */
@Slf4j
@Primary
@Service
@Transactional(rollbackFor = Exception.class)
public class SimLineParkServiceImpl extends FzServiceImpl<SimLineParkMapper, SimPark> implements SimLineParkService {

    @Resource
    private SimLineParkMapper mapper;

    @Override
    public List<SimPark> getParkByLineId(String id) {
        return mapper.getParkByLineId(id);
    }
}
